package com.a.ims.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Card {
    //卡牌ID
    private Integer cardId;
    //卡牌种类
    private String cardmate;
    //所在仓库名
    private String warehouseName;
    //卡牌图片
    private String imagePath;
    //卡牌信息
    private String condition;
   //进价
    private Integer costPrice;
    //售价
    private Integer price;
    //购买时间
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date buyTime;
    //售出时间
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date soldTime;


    //卡名
    private String cardName;
    //稀有度
    private String rarity;
    //来源
    private String origin;
    //卡盒
    private String batch;
}
